#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2013-01-21 23:00:57:157 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace YhdSdk.Domain.Order
{
    /// <summary>
    /// 订单明细
    /// </summary>
    [Serializable]
    public class OrderItem : YhdObject
    {
        /// <summary>
        /// 订单明细ID
        /// </summary>
        [XmlElement("id")]
        public Nullable<Int64> Id
        {
            get;
            set;
        }

        /// <summary>
        /// 订单ID
        /// </summary>
        [XmlElement("orderId")]
        public Nullable<Int64> OrderId
        {
            get;
            set;
        }

        /// <summary>
        /// 产品名称
        /// </summary>
        [XmlElement("productCName")]
        public String ProductCName
        {
            get;
            set;
        }

        /// <summary>
        /// 金额
        /// </summary>
        [XmlElement("orderItemAmount")]
        public Nullable<Double> OrderItemAmount
        {
            get;
            set;
        }

        /// <summary>
        /// 数量
        /// </summary>
        [XmlElement("orderItemNum")]
        public Nullable<Int32> OrderItemNum
        {
            get;
            set;
        }

        /// <summary>
        /// 单价
        /// </summary>
        [XmlElement("orderItemPrice")]
        public Nullable<Double> OrderItemPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 产品原价
        /// </summary>
        [XmlElement("originalPrice")]
        public Nullable<Double> OriginalPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 产品id
        /// </summary>
        [XmlElement("productId")]
        public Nullable<Int64> ProductId
        {
            get;
            set;
        }

        /// <summary>
        /// 团购产品标识，1表示团购产品, 0表示非团购产品
        /// </summary>
        [XmlElement("groupFlag")]
        public Nullable<Int32> GroupFlag
        {
            get;
            set;
        }

        /// <summary>
        /// 商家id
        /// </summary>
        [XmlElement("merchantId")]
        public Nullable<Int64> MerchantId
        {
            get;
            set;
        }

        /// <summary>
        /// 退换货完成时间
        /// </summary>
        [XmlElement("processFinishDate")]
        public Nullable<DateTime> ProcessFinishDate
        {
            get;
            set;
        }

        /// <summary>
        /// 更新时间
        /// </summary>
        [XmlElement("updateTime")]
        public Nullable<DateTime> UpdateTime
        {
            get;
            set;
        }

        /// <summary>
        /// 产品外部编码
        /// </summary>
        [XmlElement("outerId")]
        public String OuterId
        {
            get;
            set;
        }

    }
}
